#include <iostream>
#include "Factorial.h"
#include "Rational.h"
#include <process.h>

void testRational()
{
	Rational<int> one(1,2);
	Rational<int> result = 2 * one;
	
	std::cout<<"Hello World"<<std::endl;
	std::cout<<result.numerator() << "/" << result.denominator()<<std::endl;
	
}

void testFactorial()
{
	std::cout<<Factorial<5>::value<<std::endl;
	std::cout<<Factorial<10>::value<<std::endl;
}


int main()
{
	testFactorial();
	std::system("Pause");
	return 0;
}